package top.hepingan.java.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 漂流瓶回复表
 * </p>
 *
 * @author author
 * @since 2025-10-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("reply")
@ApiModel(value="Reply对象", description="漂流瓶回复表")
public class Reply implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "回复ID，主键，自增")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "对应的漂流瓶ID")
    @TableField("bottle_id")
    private Long bottleId;

    @ApiModelProperty(value = "发送者ID")
    @TableField("sender_id")
    private Long senderId;

    @ApiModelProperty(value = "接收者ID")
    @TableField("receiver_id")
    private Long receiverId;


    @ApiModelProperty(value = "回复内容")
    @TableField("content")
    private String content;

    @ApiModelProperty(value = "发送时间")
    @TableField("create_time")
    private LocalDateTime createTime;
    @ApiModelProperty(value = "状态")
    @TableField("staticq")
    private  Integer staticq;





}
